<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>    
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html> 
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>系统页面</title>
 	<script type="text/javascript" src="${basePath}js/jquery/jquery-1.11.1.min.js"></script>
	<script type="text/javascript" src="${basePath}js/easyui/jquery.easyui.min.js"></script>
	<script type="text/javascript" src="${basePath}js/easyui/locale/easyui-lang-zh_CN.js"></script>
	<script type="text/javascript" src="${basePath}js/system/serialize.js"></script>
	<script type="text/javascript" src="${basePath}js/system/util.js"></script>

	<link rel="stylesheet" type="text/css" href="${basePath}css/easyui/themes/default/easyui.css">
	<link rel="stylesheet" type="text/css" href="${basePath}css/easyui/themes/color.css">
	<link rel="stylesheet" type="text/css" href="${basePath}css/easyui/themes/icon.css">
	<link rel="stylesheet" type="text/css" href="${basePath}css/default.css">
	<script type="text/javascript">
		var basePath = "${basePath}";
	</script>	
</head>

<body  >
<form id="userff" method="post">
	<div style="height: 10px;"></div>
	<input type="hidden" id="userId" />
	<input type="hidden" id="userParentId" value="${user.parentId}">
	<div style="padding:30px 60px">
		<table align="center">			
			<tr >
				<td>
					<div style="margin-bottom:20px">
						<span style="color: red">*</span>用户工号:
						<input class="easyui-textbox" id="userNO" style="width:200px;height:38px" value="${user.userNo}">
					</div>				
				</td>
				<td>
					<div style="margin-bottom:20px">
						<span style="color: red">*</span>姓&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;名:
						<input class="easyui-textbox" id="userName"  style="width:200px;height:38px" value="${user.username }">
					</div>				
				</td>
			</tr>
			<tr >
				<td>
					<div style="margin-bottom:20px">
						用户性别:
						<input type="hidden" id="sexvalue" value="${user.sex}"/>
			            <span class="radioSpan">
			                <input type="radio" name="sex" value="1"/>男
			                <input type="radio" name="sex" value="0"/>女
			            </span>
					</div>				
				</td>
				<td>
					<div style="margin-bottom:20px">
						<span style="color: red">*</span>用户部门:
						<input type="hidden" id="userDeptId" value="${user.deptId}"/>
						<input id="deptComboTree" style="width: 200px;height: 38px;" data-options="required:true" value="${user.deptName}"/>
					</div>				
				</td>
			</tr>
			<tr >
				<td>
					<div style="margin-bottom:20px">
						直属上级:
						<select id="userParent" class="easyui-combobox" style="width: 200px;height:38px"></select>
					</div>				
				</td>
				<td>
					<div style="margin-bottom:20px">
						&nbsp;&nbsp;联系电话:
						<input id="phone" class="easyui-textbox" style="width: 200px;height: 38px;" value="${user.phone}"/>
					</div>				
				</td>
			</tr>
			<tr >
				<td>
					<div style="margin-bottom:20px">
						电子邮件:
						<input class="easyui-textbox" id="email" style="width:200px;height:38px" value="${user.email}"/>
					</div>				
				</td>
				<td>
				<div style="margin-bottom:20px">
					出生年月：
            		<input id="birthDate" type="text" class="easyui-datebox" style="width: 200px;height: 38px;"value="${user.birthDate}"/>
            	</div>
				</td>
				
			</tr>
			<tr >
				<td>
					<div style="margin-bottom:20px">
						入职时间:
						<input id="timeOfEntry" type="text" class="easyui-datebox" editable="false"
						style="width: 200px;height: 38px;"value="${user.timeOfEntry}"/>
					</div>				
				</td>
				<td>
					<div style="margin-bottom:20px">
						公&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;司:
						<input type="hidden" id="affiliatedCompanydate" value="${user.affiliatedCompany}">
						<select id="AffiliatedCompany" class="easyui-combobox" style="width: 200px;height:38px"></select>
					</div>				
				</td>
			</tr>
			<tr >
				<td>
					<div style="margin-bottom:20px">
						级&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;别:
						<input type="hidden" id="userLevel" value="${user.level}"/>
						<input id="level" type="text" class="easyui-combobox" editable="false"
						style="width: 200px;height: 38px;" />
					</div>				
				</td>
				<td>
					<div style="margin-bottom:20px">
						岗&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;位:
						<input type="hidden" id="userStation" value="${user.station}"/>
						<select id="station" class="easyui-combobox" style="width: 200px;height:38px"></select>
					</div>				
				</td>
			</tr>
			<tr >
				<td>
					<div style="margin-bottom:20px">
						薪&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;水:
						<input id='salary' class="easyui-numberbox" type="text" min="1" 
						style='width: 200px;height:38px' value="${user.salary}"/>
					</div>				
				</td>
				<td>
					<div style="margin-bottom:20px">
						
					</div>				
				</td>
			</tr>						
			<tr >			
				<td colspan="2" align="center" width="615px;">
					<div>
						<input name="" type="button" class="cancelbtn" value="取消"  onclick="cancelDlg('addupdateUserDlg');"  />
						<input name="" type="button" class="submitbtn" value="确定"  onclick="submitAddUpdateUser();"  />
					</div>				
				</td>
			</tr>												
		</table>
	</div>
    
</form>




	
</body>

</html>